<?php

namespace app\api\model;

use think\Model;

class Major extends Model
{

    public static function queryById($id)
    {
        return self::where('major_id', $id)->find();
    }

}